<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		document.write("<table border='1'>");

		for (var i = 1; i <= 9; i++) {
			document.write("<tr>");
			for (var k =  1; k<= 9; k++) {
				document.write("<td bgcolor='red'>"+i+"*"+k+"="+i*k+"</td>");
			}
			document.write("</tr>");
		}

		document.write("</table>");
	</script>
</head>
<body>
</body>
</html>